/*
编写 : Hexh
时间 : 2012-6-15 9:02:48
*/
using System.Collections.Generic;
using HMIS.FrameWork.DomainBase;
using HMIS.FrameWork.Repository;

namespace FSBS.Core.Entity.IRespositories
{
	/// <summary>
	///	 the FsCarInventory repository interface 
	/// </summary>
	public interface IFsbsQmInvtRepository : IRepository<FsbsQmInvt>
	{

		IList<FsbsQmInvt> GetPlist(string deptId, string type, string state, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);

		string CreateNewInventory(string deptId, string type, string userId);

		IList<FsbsQmIvls> GetCarPlist(string inventoryId, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);
	}
}
